NAME := 1km_agv

$(NAME)_MBINS_TYPE := 1km
$(NAME)_VERSION := 1.0.0
$(NAME)_SUMMARY := for 1km project Standardized interface agv driver

agv = 1

$(NAME)_COMPONENTS += 1km_bsp

$(NAME)_SOURCES += upper.c io.c safty.c lidar_navigation.c

ifeq ($(line),1)
ifeq ($(motor_type),3)

else
$(NAME)_COMPONENTS += 1km_pansonic
endif
$(NAME)_SOURCES += line-ac/deal_cmd_ac.c
GLOBAL_INCLUDES += ./line-ac
GLOBAL_DEFINES += AC
else ifeq ($(dryer_ac),1)
ifeq ($(motor_type),3)

else
$(NAME)_COMPONENTS += 1km_pansonic
endif
$(NAME)_SOURCES += line-ac/deal_cmd_ac.c
GLOBAL_INCLUDES += ./line-ac
GLOBAL_DEFINES += AC
endif
ifeq ($(battery),1)
$(NAME)_COMPONENTS += 1km_syntron
$(NAME)_SOURCES += battery/deal_cmd.c
GLOBAL_INCLUDES += ./battery
GLOBAL_DEFINES += DC
endif

GLOBAL_DEFINES += AGV

GLOBAL_INCLUDES += .
